 <style>
    table tr{
        height: 32px;
    }
    .switch{
        width: 28px;
        height: 14px;
    }
    .switch small{
        width: 14px;
        height: 14px;
    }
    .switch.checked small{
        left: 13px;
    }
</style>
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header" style="margin-top:1px;">
                   
                    
                        <button class="btn btn-info" ng-click="save(rolelist);" ng-disabled="runIng">保存</button>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <button class="btn btn-info" ng-click="goBack();" ng-disabled="runIng">返回</button>
                        <br>
                        <br>
                        <uib-accordion close-others="false">
                            <uib-accordion-group heading="用户添加" is-open="true">
                                <table width="95%" style="height:260px;">
                                    <tbody>
                                        <tr>
                                            <td>用户名:</td>
                                            <td>
                                                <div class="row">
                                                    <div class="col-xs-6" style="width: 40%;">
                                                        <input type="text" placeholder="请输入用户名!" ng-model="info.account">
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>真实姓名:</td>
                                            <td>
                                                <div class="row">
                                                    <div class="col-xs-6" style="width: 40%;">
                                                        <input type="text" placeholder="请输入真实姓名!" ng-model="info.realname">
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码:</td>
                                            <td>
                                                <div class="row">
                                                    <div class="col-xs-6" style="width: 40%;">
                                                        <input type="password" placeholder="请输入密码!" ng-model="info.password">
                                                    </div>
                                                </div>
                                            </td>
                                        </tr> 
                                        <tr>
                                            <td>角&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;色:</td>
                                            <td>
                                                <div class="row">
                                                    <div class="col-xs-6" style="width: 80%;">
                                                        <div class="row clearfix">
                                                            <div class="col-md-9 column">
                                                                <p style="display: inline-block; width: 25%;" ng-repeat="role in rolelist">
                                                                    <input ng-disabled="!canUpdateRole(role)" type="checkbox" ng-model="role.Selected" ng-true-value="true" ng-false-value="false"/>
                                                                    <b>{{role.role_name}}</b>
                                                                </p>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </uib-accordion-group>
                        </uib-accordion>
                    
                </div>
            </div>
        </div>
    </div>
</section>
